﻿using System;

// Token: 0x02000005 RID: 5
public class LimitConfig
{
	// Token: 0x0600000E RID: 14 RVA: 0x00002EEC File Offset: 0x000010EC
	static LimitConfig()
	{
		foreach (string text in Environment.CommandLine.Split(new char[]
		{
			' '
		}))
		{
			if (text != null && text.Contains("--slidermin="))
			{
				string s = text.Substring("--slidermin=".Length).Trim();
				try
				{
					LimitConfig.NewMin = int.Parse(s);
				}
				catch (Exception)
				{
				}
			}
			if (text != null && text.Contains("--slidermax="))
			{
				string s2 = text.Substring("--slidermax=".Length).Trim();
				try
				{
					LimitConfig.NewMax = int.Parse(s2);
				}
				catch (Exception)
				{
				}
			}
			if (text != null && text.Contains("--norotatelimit"))
			{
				LimitConfig.NoRotateLimit = true;
			}
		}
	}

	// Token: 0x0400000A RID: 10
	public static int NewMax = 200;

	// Token: 0x0400000B RID: 11
	public static int NewMin = -100;

	// Token: 0x0400000C RID: 12
	public static bool NoRotateLimit = false;
}
